<template>
	<view>
		<!-- <tabnav title="预览文件" :col="back"></tabnav> -->
		<web-view :src="aurl+'/'+file_url"></web-view>
	</view>
</template>

<script>
	import tabnav from "../common/tabnav/tabnav.vue"
	export default {
		components: {
			tabnav,
		},
		data() {
			return {
				aurl: this.global.url,
				back: uni.getStorageSync('back'),
				backTwo: uni.getStorageSync('backTwo'),
				file_url: ''
			}
		},
		onLoad(options) {
			// console.log(opotions)
			this.file_url = options.file_url
			uni.setNavigationBarColor({
				frontColor: '#000000', // 前景色值，包括按钮、标题、状态栏的颜色
				backgroundColor: '#ffffff', // 背景颜色值

			});
		},
		methods: {

		}
	}
</script>

<style>

</style>